package com.ruoyi.delivery.service;

import com.ruoyi.domain.GarbageRecyclingOrder;

import java.util.List;

/**
 * 垃圾回收订单Service接口
 * 
 * @author ruoyi
 * @date 2021-03-29
 */
public interface IGarbageRecyclingOrderService 
{
    /**
     * 查询垃圾回收订单
     * 
     * @param orderid 垃圾回收订单ID
     * @return 垃圾回收订单
     */
    public GarbageRecyclingOrder selectGarbageRecyclingOrderById(Long orderid);

    /**
     * 查询垃圾回收订单列表
     * 
     * @param garbageRecyclingOrder 垃圾回收订单
     * @return 垃圾回收订单集合
     */
    public List<GarbageRecyclingOrder> selectGarbageRecyclingOrderList(GarbageRecyclingOrder garbageRecyclingOrder);

    /**
     * 新增垃圾回收订单
     * 
     * @param garbageRecyclingOrder 垃圾回收订单
     * @return 结果
     */
    public int insertGarbageRecyclingOrder(GarbageRecyclingOrder garbageRecyclingOrder);

    /**
     * 修改垃圾回收订单
     * 
     * @param garbageRecyclingOrder 垃圾回收订单
     * @return 结果
     */
    public int updateGarbageRecyclingOrder(GarbageRecyclingOrder garbageRecyclingOrder);

    /**
     * 批量删除垃圾回收订单
     * 
     * @param orderids 需要删除的垃圾回收订单ID
     * @return 结果
     */
    public int deleteGarbageRecyclingOrderByIds(Long[] orderids);

    /**
     * 删除垃圾回收订单信息
     * 
     * @param orderid 垃圾回收订单ID
     * @return 结果
     */
    public int deleteGarbageRecyclingOrderById(Long orderid);
}
